package spring.boot.docker.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.servlet.http.HttpServletRequest;


/**
 *测试
 */

@RestController
@RequestMapping("/test")
@Slf4j
public class TestController {

    @PostMapping("/test")
    public String test(HttpServletRequest request)

    {
        log.info("test");
        return "ok";
    }
}
